﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<div class="notic_title">
	<div class="notic_title01">最新学习的课程</div>
	<div class="notic_title02">
		<ul style="margin-left: -35px;">
			<c:forEach items="${recentRemarkList.data}" var="recentRemarkObject" varStatus="status">
		    <div class="notic_title02li">
				<li id="notli0${status.index+1}">
				<c:choose>
				  	<c:when test="${recentRemarkObject.courseSubject==2}">
				  		<a href="/student/curriculum/initCourseTopic/${recentRemarkObject.courseId}" onMouseOver="stu(${status.index+1},4)">${recentRemarkObject.courseName}</a>
				  	</c:when>
				  	<c:otherwise>
				  		<a href="/student/curriculum/initCourseCtg/${recentRemarkObject.courseId}" onMouseOver="stu(${status.index+1},4)">${recentRemarkObject.courseName}</a>
				  	</c:otherwise>
				  </c:choose>
				</li>
			</div>
			<c:choose>
				<c:when test="${status.first}">
					<div id="notcon0${status.index+1}" class="notic_title02cl">
			  	</c:when>
			  	<c:otherwise>
			  		<div id="notcon0${status.index+1}" class="notic_title02cl" style="display: none">
			  	</c:otherwise>
		  	</c:choose>
				<div class="notic_title02clp">
					<c:choose>
					  	<c:when test="${recentRemarkObject.courseSubject==2}">
					  		<img src="http://resource.zhuclass.com/cdrmimg/${recentRemarkObject.coursePimg}?w=120&h=90" />
					  	</c:when>
					  	<c:otherwise>
					  		<img src="http://resource.zhuclass.com/cdrmimg/${recentRemarkObject.coursePimg}?w=120&h=90" />
					  	</c:otherwise>
					  </c:choose>
				</div>
				<div class="notic_title02clpr">
					<div class="notic_title02clpr01">
						<span style="float: left;">进度：</span>
						<div class="Bar" style="margin-top: 9px;">
							<div style="width: ${recentRemarkObject.progress}%;"></div>
						</div>
						${recentRemarkObject.progress}%
					</div>
					<div class="notic_title02clpr02">上次学习：${recentRemarkObject.timeLong}
					<c:choose>
					  	<c:when test="${recentRemarkObject.timeType==0}">
					  	分钟前
					  	</c:when>
					  	<c:when test="${recentRemarkObject.timeType==1}">
					  	小时前
					  	</c:when>
					  	<c:when test="${recentRemarkObject.timeType==2}">
					  	天前
					  	</c:when>
					  </c:choose>
					
					</div>
					<div class="notic_title02clpr03">
						
						 <c:choose>
						  	<c:when test="${recentRemarkObject.courseSubject==2}">
						  		<a href="/student/curriculum/initCourseTopic/${recentRemarkObject.courseId}" >
						  			<div class="notic_title02clpr0101">点击学习</div>
						  		</a>
						  	</c:when>
						  	<c:otherwise>
						  		<a href="/student/curriculum/initCourseCtg/${recentRemarkObject.courseId}"  >
						  			<div class="notic_title02clpr0101">点击学习</div>
						  		</a>
						  	</c:otherwise>
						  </c:choose>
					   
						
						<span style="color: #666; margin-left: 15px;"> 共${recentRemarkObject.courseTimes}课程 </span>
					</div>
				</div>
			</div>
		  	</c:forEach>
		</ul>
		
		 <c:if test="${ recentRemarkList.data.size() > 0}" >
			<div id="pagingdiv" ></div>
		 </c:if>
	</div>
</div> 
